import React, { Component } from 'react'
import './index.css'
export default class Nav extends Component {
    render() {
        let { list } = this.props;
        return (
            <div className='con'>
                <ul>
                    {
                        list.map((item, index) => <li key={index}>
                            <div className='img'><img src={item.pictureURL} alt=""></img></div>
                            <div><span>{item.pictureName}</span></div>
                        </li>)
                    }
                </ul>
            </div>
        )
    }
}
